package BTree;

public class test {
    public static void main(String[] args) {
        BTree bTree=new BTree();
        BTree.Node root=bTree.creat();
        System.out.println(bTree.size(root));
        bTree.size1(root);
        System.out.println(BTree.size);

        bTree.getLeafNodeCount(root);
        System.out.println(BTree.leafsize);
        System.out.println(bTree.getLeafNodeCount1(root));


        System.out.println(bTree.getKLevelNodeCount(root,1));
        System.out.println(bTree.getKLevelNodeCount(root,2));
        System.out.println(bTree.getKLevelNodeCount(root,3));

        System.out.println(bTree.getHeight(root));


        System.out.println(bTree.find(root,'C').ch);

        bTree.levelOrder(root);

        System.out.println(bTree.isCompleteTree(root));
    }
}
